package org.dubnation.user.mapper;

import org.dubnation.user.domain.User;
import org.dubnation.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhu
 * @since 2023-11-09
 */
public interface UserMapper extends BaseMapper<User> {

    User queryByPhone(String phone);

    List<String> getPermissionSn(Long id);

    Integer getByUsernameOrEmail(String username, String email);
}
